<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息修改</title>
    <link rel="stylesheet" href="assets/css/amazeui.css">
    <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
    <script src="amazeui.js"></script>
</head>
<body>
<form class="am-form" method="post" action="index.php?
a=student&f=upd&name=<?php echo $_GET['name'] ?>&sex=<?php echo $_GET['sex'] ?>&no=<?php echo $_GET['stu_id'] ?>&date=<?php echo $_GET['birth_date'] ?>&tel=<?php echo $_GET['tel'] ?>
">
    <fieldset>
        <legend>学生信息</legend>
        <div class="am-form-group">
            <label for="doc-ipt-email-1">名字</label>
            <input type="text" class="" name="name" value="<?php echo $_GET['name'] ?>" id="doc-ipt-email-1" placeholder="你的大名">
        </div>

        <div class="am-form-group">
            <label for="doc-ipt-pwd-1">学号</label>
            <input type="number" class=""name="no" value="<?php echo $_GET['stu_id'] ?>" id="doc-ipt-pwd-1" placeholder="学号">
        </div>
        <div class="am-form-group">
            <label for="tel">电话</label>
            <input type="tel" class="" name="tel" value="<?php echo $_GET['tel'] ?>" id="tel" placeholder="你的电话">
        </div>

        <div class="am-form-group">
            <label for="address">生日</label>
            <input type="text" class="am-form-field" name="date" value="<?php echo $_GET['birth_date'] ?>" placeholder="日历组件" data-am-datepicker readonly required />
        </div>

        <label for="doc-ipt-pwd-1">性别</label>
        <div class="am-radio">
            <label>
                <input type="radio" name="sex" value="男" checked>
                男
            </label>
        </div>

        <div class="am-radio">
            <label>
                <input type="radio" name="sex" value="女">
                女
            </label>
        </div>

        <p><button type="submit" class="am-btn am-btn-default">确认修改</button></p>
    </fieldset>
</form>
</body>
</html>